package com.resifind.www.po;

/**
 * @author 36069
 */
public class Merchant {
    private Integer id;
    private Integer userId;
    private String tradeName;
    private String address;
    private String contact;
    private String keyword;
    private Integer totalSales;
    private String businessStatus;
    private String applicationStatus;
    private Double turnover;
    private String date;
    private Integer view;
    private boolean favour;

    public Merchant() {
    }

    public Merchant(Integer id, Integer userId, String tradeName, String address, String contact, String keyword, Integer totalSales, String businessStatus, String applicationStatus, Double turnover, String date, Integer view, boolean favour) {
        this.id = id;
        this.userId = userId;
        this.tradeName = tradeName;
        this.address = address;
        this.contact = contact;
        this.keyword = keyword;
        this.totalSales = totalSales;
        this.businessStatus = businessStatus;
        this.applicationStatus = applicationStatus;
        this.turnover = turnover;
        this.date = date;
        this.view = view;
        this.favour = favour;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTradeName() {
        return tradeName;
    }

    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getTotalSales() {
        return totalSales;
    }

    public void setTotalSales(Integer totalSales) {
        this.totalSales = totalSales;
    }

    public String getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(String businessStatus) {
        this.businessStatus = businessStatus;
    }

    public String getApplicationStatus() {
        return applicationStatus;
    }

    public void setApplicationStatus(String applicationStatus) {
        this.applicationStatus = applicationStatus;
    }

    public Double getTurnover() {
        return turnover;
    }

    public void setTurnover(Double turnover) {
        this.turnover = turnover;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getView() {
        return view;
    }

    public void setView(Integer view) {
        this.view = view;
    }

    public boolean isFavour() {
        return favour;
    }

    public void setFavour(boolean favour) {
        this.favour = favour;
    }

    @Override
    public String toString() {
        return "Merchant{" +
                "id=" + id +
                ", userId=" + userId +
                ", tradeName='" + tradeName + '\'' +
                ", address='" + address + '\'' +
                ", contact='" + contact + '\'' +
                ", keyword='" + keyword + '\'' +
                ", totalSales=" + totalSales +
                ", businessStatus='" + businessStatus + '\'' +
                ", applicationStatus='" + applicationStatus + '\'' +
                ", turnover=" + turnover +
                ", date='" + date + '\'' +
                '}';
    }
}
